﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkBasket.Data.Contracts
{
    interface IRepository<T> where T : class
    {
        IQueryable<T> GetAll();

        T GetByID(int ID);
        void Add(T entity);
        void Update(T Entity);
        void Delete(T Entity);

        void Delete(int ID);
    }
}
